package com.ourygo.fileselect.bean;

public class BookMark
{
	private String path;
	private String name;
	private int icon;

	public void setIcon(int icon) {
		this.icon = icon;
	}

	public int getIcon() {
		return icon;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getPath() {
		return path;
	}
	
	public static BookMark toBookMark(String name,String path,int icon){
		BookMark bm=new BookMark();
		bm.setName(name);
		bm.setPath(path);
		bm.setIcon(icon);
		return bm;
	}
}
